﻿using UnityEngine;
using System.Collections;

public class HostButton : Touchable {
	void Update() {
		if(Application.platform != RuntimePlatform.Android)
			TouchUpdate(new Touch());
	}

	override public void TouchUpdate(Touch t) {
		var server = GameObject.Find("ServerHandler").GetComponent<Server>();
		server.StartHost();
		Application.LoadLevel(1);
	}
}
